Hello, I have a script displaying a dialog box, doing some operations and calling exit_ at the end. When I launch doors (8.3) with ' -dxl "#include \"this_script\"", the script is runned again after the 'exit_', so it is impossible to stop. If I run the script with 'load dxl' and 'run', doors stops at the end of the script. If I launch doors with a little script (-dxl "void exCB(DB x){ exit_ };DB x =create \"test\"; ok(x,\"ok\",exCB);show x"), doors stops also. If someone has an explanation (and a solution), please... It works fine with doors9.3!!! But we have some older projects... dlenaou - Fri Jul 18 09:47:58 EDT 2014 |
Re: use of exit_ and -dxl switch I remember something like this, though DOORS 8.3 was really a long time ago ... It might sound dumb, but try calling the exit_ twice and see if it changes anything. If nothing helps, system("taskkill /F /IM doors.exe") could come to a nasty rescue... Regards, Mathias |
Re: use of exit_ and -dxl switch I've never used "exit_". But if you want to do that then it seems to me you should run in "batch" mode, which auto exists when done. |